<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:Jerry.DroidBuilder.ThemeEditor.Controls">

  <Style TargetType="{x:Type local:LayoutEditor}">
    <Setter Property="Width" Value="480" />
    <Setter Property="Height" Value="800" />
    <Setter Property="Template">
      <Setter.Value>
        <ControlTemplate TargetType="{x:Type local:LayoutEditor}">
          <Border Background="{TemplateBinding Background}"
                  BorderBrush="{TemplateBinding BorderBrush}"
                  BorderThickness="{TemplateBinding BorderThickness}">
            <local:LinearLayout x:Name="xxx" DataContext="{Binding LayoutInfo, RelativeSource={RelativeSource TemplatedParent}}">
              <local:LayoutElement LayoutInfo="{Binding LayoutInfo, RelativeSource={RelativeSource TemplatedParent}}" />
            </local:LinearLayout>
          </Border>
        </ControlTemplate>
      </Setter.Value>
    </Setter>
  </Style>
</ResourceDictionary>